import dayjs from "dayjs";
export const menDaColumns = [
    {
        prop: "source",
        label: "来源",
        width: "40px",
    },
    {
        prop: "dwMenId",
        label: "客户单位员工关系ID",
        width: "180px",
    },

    {
        prop: "hjInTime",
        label: "户籍迁入时间",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "hjOutTime",
        label: "户籍迁出时间",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "dyGxInTime",
        label: "党员关系转入时间",
        width: "160px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "dyGxOutSj",
        label: "党员关系转出时间",
        width: "160px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "daAddress",
        label: "档案存放地",
        width: "100px",
    },

    {
        prop: "daInSj",
        label: "档案调入时间",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "daMemo",
        label: "档案备注",
        width: "80px",
    },

    {
        prop: "daOutSj",
        label: "档案调出时间",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "daOutAddress",
        label: "档案调出地",
        width: "100px",
    },
    {
        prop: "dzzAddress",
        label: "党组织关系所在地",
        width: "160px",
    }
];
